const{ getItemHttp} = require("../../http/http")
Page({

    
    data: {
        pic:"",
        title:"",
        slogo:""
    },
    onLoad: function (options) {
            console.log(options);
            var{id}=options;
            getItemHttp(id).then(res=>{
               var{pic,title,slogo}= res.data;
               this.setData({
                   pic,
                   title,
                   slogo
               })
            })

    },

   
})